#ifndef __DRAWABLE_H
#define __DRAWABLE_H

#include "../include/common.h"
#include "../include/back_buffer.h"

typedef struct Bitmap
{
	ushort w, h;		//	3 x 3
	uint map;			//	0000000 111 111 111
} Bitmap;

typedef struct Drawable
{
	short x, y;
	Bitmap *bitmap;	
} Drawable;

extern void draw(Drawable *d);
extern int checkCollision(Drawable *d1, Drawable *d2);

#endif
